Video = {
    showVideo : function(video_link){
        var html = "<div id='popupShowVideo'>" 
                + "<iframe width='640' height='480' id='videoSource' src='//www.youtube.com/embed/" + video_link + "?rel=0&autoplay=1' frameborder='0' allowfullscreen></iframe>"
                + "</div>"
                + "<div id='showVideo' onclick='Video.hideVideo();'></div>";
        $("footer").after(html);

        var screenWidth = $(window).width();
        var screenHeight = $(window).height();
        var left = (screenWidth - 660) / 2;
        var top = (screenHeight - 500) / 2;
        $("#popupShowVideo").css("left", left);
        $("#popupShowVideo").css("top", top);
        $("#popupShowVideo").css("position", "fixed");
    },
    hideVideo : function(){
        $("#popupShowVideo").remove();
        $("#showVideo").remove();
    }
};